<%-- 
    Document   : listaProductos
    Created on : Dec 5, 2011, 4:40:41 PM
    Author     : asabido
--%>
<%@page import="Negocio.Recurso"%>
<%@page import="java.util.ArrayList"%>
<%ArrayList<Recurso> productos = (ArrayList<Recurso>) session.getAttribute("listaDeProductos");%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!doctype html>
<!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en"> <![endif]-->
<!--[if IE 7]>    <html class="no-js ie7 oldie" lang="en"> <![endif]-->
<!--[if IE 8]>    <html class="no-js ie8 oldie" lang="en"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">

	<title>- Boris y Saky -</title>
	<meta name="description" content="">
	<meta name="author" content="">

	<meta name="viewport" content="width=device-width,initial-scale=1">

	<link rel="stylesheet" href="css/style.css"/>
	<link rel="stylesheet" href="css/eggplant/eggplant.css">

	<script src="js/libs/modernizr-2.0.6.min.js"></script>
</head>
<body>

<div id="container">
	<header>
            <h1>- Productos -</h1>
	</header>
	<div id="main" role="main">
            <br/><br/>
            <table class="listado">
                <thead>
                <tr>
                    <th scope="col">Nombre</th>
                    <th scope="col">Descripción</th>
                    <th scope="col">Precio</th>
                    <th scope="col">Cantidad</th>
                    <th scope="col">Peso</th>
                    <th scope="col">Consumible</th>
                    <th scope="col">Portable</th>
                </tr>
                </thead>
                <tbody>
                <%for(Recurso p: productos){%>
                <tr>
                    <td><%=p.getNombre()%></td>
                    <td><%=p.getDescripcion()%></td>
                    <td><%=p.getPrecio()%>€</td>
                    <td><%=p.getCantidad()%></td>
                    <td><%=p.getPeso()%>gr</td>
                    <td><%=p.getConsumible()%></td>
                    <td><%=p.getPortable()%></td>
                </tr>       
                <%}%> 
                </tbody>
            </table>

            <a href="Recurso.jsp"><h3>Volver a Recursos</h3></a>

	</div><!--main-->
<footer class="footer">
        <table>
            <thead>
                <th>DIRECCIÓN</th>
                <th>TELÉFONO</th>
                <th>CORREO ELECTRÓNICO</th>
            </thead>
            <tbody>
                <tr>
                    <td>Clara del Rey, 11</td>
                    <td>91-519.48.37</td>
                    <td>contacto@borisysaky.com</td>
                </tr>
                <tr>
                    <td>Metro: Cartagena</td>
                </tr>
                <tr>
                    <td>Autobús: 146 y C1</td>
                </tr>
            </tbody>
        </table>
</footer>
</div> <!--! end of #container -->

<script src="js/libs/jquery-1.6.2.min.js"></script>
<script src="js/libs/jquery-ui-1.8.16.custom.min.js"></script>

<!-- scripts concatenated and minified via ant build script-->
<script src="js/plugins/timepicker.js"></script>
<script src="js/plugins/selectmenu.js"></script>
<script src="js/script.js"></script>
<!-- end scripts-->

<!--[if lt IE 7 ]>
	<script src="//ajax.googleapis.com/ajax/libs/chrome-frame/1.0.2/CFInstall.min.js"></script>
	<script>window.attachEvent("onload",function(){CFInstall.check({mode:"overlay"})})</script>
<![endif]-->

</body>
</html>